package com.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dede
 * @since 2020-05-23
 */
public class PsLogs extends Model<PsLogs> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("USERCODE")
    private String usercode;

    @TableField("USERNAME")
    private String username;

    @TableField("OPERATEINFO")
    private String operateinfo;

    @TableField("OPERATEDATETIME")
    private LocalDateTime operatedatetime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOperateinfo() {
        return operateinfo;
    }

    public void setOperateinfo(String operateinfo) {
        this.operateinfo = operateinfo;
    }

    public LocalDateTime getOperatedatetime() {
        return operatedatetime;
    }

    public void setOperatedatetime(LocalDateTime operatedatetime) {
        this.operatedatetime = operatedatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsLogs{" +
        "id=" + id +
        ", usercode=" + usercode +
        ", username=" + username +
        ", operateinfo=" + operateinfo +
        ", operatedatetime=" + operatedatetime +
        "}";
    }
}
